Release 10.1A: OpenEdge Development:
ADM Reference


blankWidget

Blanks the SCREEN-VALUE of the objects in the namelist. The DataValue is blanked for a SmartDataField (this would always be the key field for a lookup even where the display field is different).

Location: visual.p

Parameters:

INPUT namelist AS CHARACTER

The name of one or more objects, separated by commas.

Returns: LOGICAL

Notes:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF widgetIsTrue("customerviewv.disableAccount":U) THEN 
 blankWidget("Self.accountID":U). 

The following illustrates the use of this method in DHTML code for use with a Web browser:

if (logic.widgetIsTrue(‘customerviewv.disableAccount’)) 
  logic.blankWidget(‘myviewv.accountID’);  


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095